package com.springboot.springboot_helloworld.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
//自动装配
@RestController
public class Controller1 {
    @RequestMapping("/hello")
    public String testHello(){
        return "Hello World!";
    }
}
